package com.zhangln.mountbuzhou.dto.request;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * 服务端主动推送统一Dto
 *
 * @author sherry
 * @description
 * @date Create in 2020/4/28
 * @modified By:
 */
@Data
public class PushMsgReq implements Serializable {
    /**
     * 唯一推送id，客户端生成
     */
    @NotEmpty
    private String pushId;
    /**
     * 唯一推送id，服务端收到请求后生成
     */
    private String msgId;
    private String area;
    private String orgCode;
    /**
     * IOS
     * ANDROID
     * .....
     * ALL
     */
    @NotEmpty
    private String device;
    private String userId;
    /**
     * 推送结果回调通知
     */
    private String url;
    private Object body;
}
